<!DOCTYPE html>
<html>
<head>
	<meta charset="UTF-8">
	<title>流动文本框 - jQuery EasyUI 演示</title>
	<meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
	<link rel="stylesheet" type="text/css" href="../../themes/default/easyui.css">
	<link rel="stylesheet" type="text/css" href="../../themes/icon.css">
	<link rel="stylesheet" type="text/css" href="../demo.css">
	<script type="text/javascript" src="../../jquery.min.js"></script>
	<script type="text/javascript" src="../../jquery.easyui.min.js"></script>
</head>
<body>
	<h2 title="Fluid TextBox">流动文本框</h2>
	<p title="This example shows how to set the width of TextBox to a percentage of its parent container.">　　本例展示如何设置文本框的宽度为其父容器的百分比值。</p>
	<div style="margin:10px 0;"></div>
	<div class="easyui-panel" style="width:100%;max-width:400px;padding:10px 20px;">
		<div style="margin-bottom:10px">
			<input class="easyui-textbox" data-options="label:'宽度：100%',labelPosition:'top',prompt:'请在此输入所需的值...'" style="width:100%">
		</div>
		<div style="margin-bottom:10px">
			<input class="easyui-textbox" data-options="label:'宽度：50%',labelPosition:'top',prompt:'在此输入值...'" style="width:50%">
		</div>
	</div>
</body>
</html>